package cn.dnf.user.mapper;

import cn.dnf.basic.mapper.BaseMapper;
import cn.dnf.user.domain.Logininfo;
import cn.dnf.user.dto.LoginDto;
import sun.rmi.runtime.Log;


public interface LogininfoMapper extends BaseMapper<Logininfo> {


    /**
     * 根据手机号和tyoe查询
     * @param dto
     * @return
     */
    Logininfo getLogininfoByDto(LoginDto dto);

    Logininfo loadByUserId(Long user_id);
}
